package com.hdoit.ares.logical.share.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      wangxuexue
 * @email       
 * @createtime  2017年12月01日 15:54:31
 * @comment
 */
@Entity
@Table(name="share_info")
public class ShareInfo extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //咨讯标题
    @Column(name="infoTitle")
    private String infoTitle;

    //咨讯作者
    @Column(name="infoAuthor")
    private String infoAuthor;

    //咨讯内容
    @Column(name="infoContent")
    private String infoContent;

    //咨讯类型
    @Column(name="infoType")
    private String infoType;

    //资讯缩略图
    @Column(name="infoThumbnailId")
    private String infoThumbnailId;

    //资讯大图
    @Column(name="infoBigpictureId")
    private String infoBigpictureId;

    //排序代码
    @Column(name="sortCode")
    private int sortCode;

    //创建时间
    @Column(name="createDate")
    private Date createDate;

    //创建人
    @Column(name="createBy")
    private String createBy;

    //修改日期
    @Column(name="modifyDate")
    private Date modifyDate;

    //修改人
    @Column(name="modifyBy")
    private String modifyBy;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    //全拼
    @Column(name="code")
    private String code;

    //连拼
    @Column(name="markCode")
    private String markCode;
    
    // 浏览次数映射
   	@Transient
   	private  ViewTime viewTime;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getInfoTitle(){
        return this.infoTitle;
    }
    public void setInfoTitle(String infoTitle){
         this.infoTitle=infoTitle;
    }

    public String getInfoAuthor(){
        return this.infoAuthor;
    }
    public void setInfoAuthor(String infoAuthor){
         this.infoAuthor=infoAuthor;
    }

    public String getInfoContent(){
        return this.infoContent;
    }
    public void setInfoContent(String infoContent){
         this.infoContent=infoContent;
    }

    public String getInfoType(){
        return this.infoType;
    }
    public void setInfoType(String infoType){
         this.infoType=infoType;
    }

    public String getInfoThumbnailId(){
        return this.infoThumbnailId;
    }
    public void setInfoThumbnailId(String infoThumbnailId){
         this.infoThumbnailId=infoThumbnailId;
    }

    public String getInfoBigpictureId(){
        return this.infoBigpictureId;
    }
    public void setInfoBigpictureId(String infoBigpictureId){
         this.infoBigpictureId=infoBigpictureId;
    }

    public int getSortCode(){
        return this.sortCode;
    }
    public void setSortCode(int sortCode){
         this.sortCode=sortCode;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateBy(){
        return this.createBy;
    }
    public void setCreateBy(String createBy){
         this.createBy=createBy;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyBy(){
        return this.modifyBy;
    }
    public void setModifyBy(String modifyBy){
         this.modifyBy=modifyBy;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getCode(){
        return this.code;
    }
    public void setCode(String code){
         this.code=code;
    }

    public String getMarkCode(){
        return this.markCode;
    }
    public void setMarkCode(String markCode){
         this.markCode=markCode;
    }
    
    public ViewTime getViewTimes() {
		return viewTime;
	}
	public void setViewTimes(ViewTime viewTime) {
		this.viewTime = viewTime;
	}

}